package com.ujoin.action.collection;

import org.springframework.beans.factory.annotation.Autowired;

import com.ujoin.bean.Collection;
import com.ujoin.service.CollectionService;
import com.ujoin.util.ActionEnhanced;

public class FindAllCollectionAction extends ActionEnhanced{
	
	@Autowired
	private CollectionService collectionService;
	
	@Override
	public String execute() {
		setJson(collectionService.findAllCollection());
		return SUCCESS;
	}
}
